DEFAULT_SKIN
DEFAULT_SKIN = 'elastic'
Configuration class for Roundcube
$system_skin : string
$legacy_props : array
Renamed options
resolve_paths(string $file, bool $use_env = true) : array
Helper method to resolve absolute paths to the given config file.
This also takes the 'env' property into account.
string | $file | Filename or absolute file path |
bool | $use_env | Return -$env file path if exists |
List of candidates in config dir path(s)
get_crypto_key(string $key) : string
Return requested DES crypto key.
string | $key | Crypto key name |
Crypto key
None found |
get_crypto_method() : string
Return configured crypto method.
Crypto method
None found |
header_delimiter() : string
Try to autodetect operating system and find the correct line endings
The appropriate mail header delimiter
None found |
keyservers() : array|null
Returns list of configured PGP key servers
List of keyservers' URLs
None found |
mail_domain(string $host, bool $encode = true) : string
Return the mail domain configured for the given host
string | $host | IMAP host |
bool | $encode | If true, domain name will be converted to IDN ASCII |
Resolved SMTP host
None found |
get_error() : mixed
Getter for error state
Error message on error, False if no errors
None found |
timezone_name_from_abbr(float $offset) : string|null
timezone_name_from_abbr() replacement. Converts timezone offset into timezone name abbreviation.
float | $offset | Timezone offset (in hours) |
Timezone abbreviation
None found |
resolve_timezone_alias(string $tzname) : string
Replace deprecated timezone name with a valid one.
string | $tzname | Timezone name |
Timezone name
None found |
guess_type(string $value) : string
Looks inside the string to determine what type might be best as a container.
string | $value | The value to inspect |
The guessed type.
None found |
parse_env(string $string, string $type = null) : mixed
Parse environment variable into PHP type.
string | $string | String to parse into PHP type |
string | $type | Type of value to return |
Appropriately typed interpretation of $string.
None found |
getenv_default(string $varname, mixed $default_value, string $type = null) : mixed
Get environment variable value.
Retrieve an environment variable's value or if it's not found, return the provided default value.
string | $varname | Environment variable name |
mixed | $default_value | Default value to return if necessary |
string | $type | Type of value to return |
Value of the environment variable or default if not found.
None found |
None found |
load_host_config() : mixed
Load a host-specific config file if configured This will merge the host specific configuration with the given one
None found |
client_timezone() : mixed
Internal getter for client's (browser) timezone identifier
None found |
fix_legacy_props(array $props) : array
Convert legacy options into new ones
array | $props | Hash array with config props |
Converted config props
None found |